Conversation
This comment was marked as outdated.
This comment was marked as outdated.
cbecbff to
ede3996
Compare
93af956 to
13b18d0
Compare
|
/gemini review |
There was a problem hiding this comment.
Code Review
This PR adds a new collector for Cheshire East Council and an integration test, which is great. The implementation is solid and mostly follows the project's style guide.
I've left a few comments regarding minor style guide violations, such as missing trailing commas in object initializers and the missing null-forgiving operator on regex matches. I've also suggested a small refactoring to reduce code duplication between GetAddresses and GetBinDays for better maintainability.
Additionally, a markdown file (.agent/prompts/fix-pr-comment.md) was added which seems unrelated to the collector implementation. I've made a minor suggestion there, but it might be worth checking if this file was intended to be part of this PR.
Overall, great work on the new collector!
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.IntegrationTests/Collectors/Councils/CheshireEastCouncilTests.cs
Show resolved
Hide resolved
Closes #83 Generated with Codex CLI
13b18d0 to
fe67a0a
Compare
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
- Remove redundant postcode formatting (already formatted) - Remove timestamp cache-busting parameters (not required) - Remove URI escaping (not needed) - Simplify Address object to use Property and Postcode only - Expect postcode and cookies to be provided (remove conditionals) - Use postcode from request parameter, not parsed address parts - Fix null-forgiving operators per style guide (on Matches, not Groups) - Add comment for onelineAddress building logic Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Summary
This PR adds a new bin collection data collector for Cheshire East Council.
ICollectorinterfaceCloses #83
Test Summary
Generated automatically by Codex CLI